package com.carlosk.kandicar.domain.http.workflow;

import com.carlosk.kandicar.domain.BaseDomain;

/**
 * 
 * @author carlos carlosk@163.com
 * @version 创建时间：2014年5月31日 下午3:42:10
 */

public class WorkFlowFormDraftLeaveTotal extends BaseDomain {
	private WorkFlowFormDraftLeave leave;

	public WorkFlowFormDraftLeave getLeave() {
		return leave;
	}

	public void setLeave(WorkFlowFormDraftLeave leave) {
		this.leave = leave;
	}

	@Override
	public String toString() {
		return "WorkFlowFormDraftLeaveTotal [leave=" + leave + "]";
	}

	public static class WorkFlowFormDraftLeave {
		private String account;
		private String days1;
		private String days2;
		private String id;
		private String instanceId;
		private String name;
		private String orgName;
		private String type;
		private String userId;

		public String getAccount() {
			return account;
		}

		public void setAccount(String account) {
			this.account = account;
		}

		public String getDays1() {
			return days1;
		}

		public void setDays1(String days1) {
			this.days1 = days1;
		}

		public String getDays2() {
			return days2;
		}

		public void setDays2(String days2) {
			this.days2 = days2;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getInstanceId() {
			return instanceId;
		}

		public void setInstanceId(String instanceId) {
			this.instanceId = instanceId;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getOrgName() {
			return orgName;
		}

		public void setOrgName(String orgName) {
			this.orgName = orgName;
		}

		public String getType() {
			return type;
		}

		public void setType(String type) {
			this.type = type;
		}

		public String getUserId() {
			return userId;
		}

		public void setUserId(String userId) {
			this.userId = userId;
		}

		@Override
		public String toString() {
			return "WorkFlowFormDraftLeave [account=" + account + ", days1="
					+ days1 + ", days2=" + days2 + ", id=" + id
					+ ", instanceId=" + instanceId + ", name=" + name
					+ ", orgName=" + orgName + ", type=" + type + ", userId="
					+ userId + "]";
		}

	}
}
